From: Aaron M. Ucko Date: Mon, 1 Sep 2025 12:57:34 +0000 (+0200) Subject: Fix autopkgtest regression on non x86: cc1plus: all warnings being treated as errors X-Git-Tag: archive/raspbian/1.3.2+dfsg-6+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=0e1db24416b54e0ca011fb251557dfff12d0bffc;p=libcereal.git Fix autopkgtest regression on non x86: cc1plus: all warnings being treated as errors Last-Update: Fri, 14 Apr 2023 09:37:59 -0400 Bug-Debian: https://bugs.debian.org/1034369 Gbp-Pq: Name allow_unsigned_char.patch --- diff --git a/unittests/map.hpp b/unittests/map.hpp index 5a91509..e44a5f4 100644 --- a/unittests/map.hpp +++ b/unittests/map.hpp @@ -62,7 +62,7 @@ void test_map() std::map o_esplmap; for(int j=0; j<100; ++j) - o_esplmap.insert({random_value(gen), { random_value(gen), random_value(gen) }}); + o_esplmap.insert({random_value(gen), { random_value(gen), random_value(gen) }}); std::ostringstream os; { diff --git a/unittests/multimap.hpp b/unittests/multimap.hpp index 0e74b1b..cc0f50b 100644 --- a/unittests/multimap.hpp +++ b/unittests/multimap.hpp @@ -71,7 +71,7 @@ void test_multimap() std::multimap o_esplmultimap; for(int j=0; j<100; ++j) { - auto key = random_value(gen); + auto key = random_value(gen); o_esplmultimap.insert({key, { random_value(gen), random_value(gen) }}); o_esplmultimap.insert({key, { random_value(gen), random_value(gen) }}); } diff --git a/unittests/unordered_map.hpp b/unittests/unordered_map.hpp index cc50e78..aa307b3 100644 --- a/unittests/unordered_map.hpp +++ b/unittests/unordered_map.hpp @@ -54,7 +54,7 @@ void test_unordered_map() std::unordered_map o_esplunordered_map; for(int j=0; j<100; ++j) - o_esplunordered_map.insert({random_value(gen), { random_value(gen), random_value(gen) }}); + o_esplunordered_map.insert({random_value(gen), { random_value(gen), random_value(gen) }}); std::ostringstream os; { diff --git a/unittests/unordered_multimap.hpp b/unittests/unordered_multimap.hpp index d5d76bc..5b3048e 100644 --- a/unittests/unordered_multimap.hpp +++ b/unittests/unordered_multimap.hpp @@ -71,7 +71,7 @@ void test_unordered_multimap() std::unordered_multimap o_esplunordered_multimap; for(int j=0; j<100; ++j) { - auto key = random_value(gen); + auto key = random_value(gen); o_esplunordered_multimap.insert({key, { random_value(gen), random_value(gen) }}); o_esplunordered_multimap.insert({key, { random_value(gen), random_value(gen) }}); }